package com.ant.storage.service;

import com.ant.storage.common.ResultVo;
import com.ant.storage.dto.ContractDto;
import com.ant.storage.dto.HouseLeaseDto;
import com.ant.storage.excel.ContractManagementExecl;
import com.ant.storage.pojo.ContractManagement;
import com.ant.storage.pojo.HouseLease;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author melon
 * @since 2024-01-19
 */
public interface IContractManagementService extends IService<ContractManagement> {

    PageInfo<ContractManagement> queryList(ContractDto dto);

    ContractManagement findContractById(Integer id);

    ResultVo contractSave(ContractManagement dto);

    ResultVo contractUpdate(ContractManagement dto);

    List<ContractManagementExecl> exportCensus(Integer isRecycle);

    ResultVo uploadCommodity(MultipartFile file);
}
